JBoss Community Archive (Read Only)

PicketLink

Github - Approving Pull Requests

Easy Option : 

Press the Green Merge button to merge a pull request.

Use the green button if you are confident that the changes are ok.

Long Version:

If you want to ensure that the pull request is ok, then I followed the guidelines outlined in https://help.github.com/articles/checking-out-pull-requests-locally

Steps I took:

Create a new directory on your desktop.

$> mkdir MASTER

$> cd MASTER

Now clone picketlink workspace. We assume that you have admin rights.

$> git clone git@github.com:picketlink/picketlink.git

$> cd picketlink

Now add some info into  the .git/config file in the picketlink directory

$> vi .git/config

remote "origin"
fetch = +refs/heads/:refs/remotes/origin/
url = git@github.com:picketlink/picketlink.git
fetch = +refs/pull//head:refs/remotes/origin/pr/

The last line needs to be added.

Fetch the pull requests

git fetch origin

This will get you a lot of pull requests but your workspace is not updated yet.

Now deal with one pull request at a time.  Assume you are dealing with pull request 239

 git checkout pr/239

Your workspace branch will be now set to pr/239

Run your builds now.

If everything is ok,  then go to github website and press the GREEN button.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 12:19:45 UTC, last content change 2014-02-26 20:21:46 UTC.